package com.mingdao.lhy.mapper.wish;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.FiveYearPlan;

@Mapper
@Repository(value = "fiveYearPlanMapper")
public interface FiveYearPlanMapper {

	List<FiveYearPlan> list();

	FiveYearPlan getOne(String xxdm);

	int deleteByPrimaryKey(Long xxdm);

	int insert(FiveYearPlan record);

	int insertSelective(FiveYearPlan record);

	FiveYearPlan selectByPrimaryKey(Long xxdm);

	int updateByPrimaryKeySelective(FiveYearPlan record);

	int updateByPrimaryKey(FiveYearPlan record);

	List<FiveYearPlan> getBlockFiveNormal();

	List<FiveYearPlan> getBlockFiveNotNormal();

	/**
	 * 根据学校ID获取所对应专业列表
	 * 
	 * @param schoolId
	 * @return
	 */
	List<FiveYearPlan> getMajorBySchoolNormal(String schoolId);
	List<FiveYearPlan> getMajorBySchoolNotNormal(String schoolId);
	

}